package com.example.tourpal.model;

import java.io.Serializable;

public class Page implements Serializable{
	private static final long serialVersionUID = 1L;
	private int pageCount;
	private int pageNo;
	private int pageSize;
	private int rowCount;
	public int getPageCount() {
		return pageCount;
	}
	public void setPageCount(int pageCount) {
		this.pageCount = pageCount;
	}
	public int getPageNo() {
		return pageNo;
	}
	public void setPageNo(int pageNo) {
		this.pageNo = pageNo;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public int getRowCount() {
		return rowCount;
	}
	public void setRowCount(int rowCount) {
		this.rowCount = rowCount;
	}
	@Override
	public String toString() {
		return "Page [pageCount=" + pageCount + ", pageNo=" + pageNo
				+ ", pageSize=" + pageSize + ", rowCount=" + rowCount + "]";
	}
	
}
